<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
 <SCRIPT type=text/javascript>
          	function searchWaybill(){
    		var wbSendOrderNumUSA = document.getElementById("sendNumUSA").value;
    		var yzm =  document.getElementById("yzm").value;
    		if(wbSendOrderNumUSA==""){
    			alert("请填写美国运单号!");
    			return;
    		}
    		if(yzm==""){
    			alert("请输入正确的验证码!!");
    			return;
    		}
    		

    		var f = document.forms["wbSearchForm"];
			f.action = "waybill!searchWaybill.do?flag=searchIndexPage&wbSendOrderNumUSA="+wbSendOrderNumUSA;
			f.submit();
    		
          	}
    		
    	  
    </script>
    <form name="wbSearchForm" method="post">
<table width="200" border="0" cellspacing="4" cellpadding="4" align="center">
  <tr>
    <td><textarea id="sendNumUSA" cols="" rows="2" style="width:190px; height:32px;" onkeyup="value=value.replace(/[^0-9a-zA-Z]/i,'')"></textarea></td>
  </tr>
  <tr>
    <td valign="top" height="25">
	<table width="200" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="130" height="25">验证码：<input id="yzm" type="text" style="width:60px;" /></td>
    <td width="70" height="25"><img src="images/yzm.gif" /></td>
  </tr>
</table>
	</td>
  </tr>
  <tr>
    <td style="line-height:18px;" valign="top" height="30"><span class="hongse">* </span>注意：请输入美国运单号，一次查询一个订单。</td>
  </tr>
  <tr>
    <td style="text-align:right;" valign="top"><input name="searchbutton" onclick="searchWaybill()" type="button" style="width:74px; height:18px; background:url(images/an_1.gif) no-repeat; border:0; display:block;" /></td>
  </tr>
</table>
</form>